{extend name="/public/common" /}

{block name="content"}
<div class="container" id="content-outer">
    <div class="inner" id="content-inner">
        <div class="recent-posts">

            {if $data.data}
            <!-- article start -->
            {foreach $data.data as $v}
            <article class="recent-post-item">
                <a class="title" href="/info/{$v.id}.html">
                    <h2>{$v.title}</h2>
                </a>
                <div class="post-meta">
                    <time class="time" datetime="2022-06-20T06:30:05.000Z">{$v.create_time}</time>
                    <span class="slash">/</span>
                    <ul class="index-tag-list" itemprop="keywords">
                        {foreach $v.keywords as $val}
                        <li class="index-tag-list-item">
                            <a class="index-tag-list-link" href="/" rel="tag">{$val}</a>
                        </li>
                        {/foreach}
                        <!--                        <li class="index-tag-list-item">-->
                        <!--                            <a class="index-tag-list-link" href="/" rel="tag">4/3模型</a>-->
                        <!--                        </li>-->
                    </ul>
                </div>

                <div class="post-excerpt">
                    {if $v.describe}
                    {$v.describe|rew}
                    {else/}
                    123123123
                    {/if}
                </div>
                <a class="more" href="/info/{$v.id}.html"> 阅读全文〉</a>
            </article>
            {/foreach}
            <!-- article end -->
            {else/}
            <div style="text-align: center;font-size: xxx-large;margin-top: 20%;">404</div>
            {/if}


            <!--            <article class="recent-post-item">-->
            <!--                <a class="title" href="/">-->
            <!--                    <h2>《2020 DevSecOps 企业实践白皮书》发布</h2></a>-->
            <!--                <div class="post-meta">-->
            <!--                    <time class="time" datetime="2020-07-15T06:30:05.000Z">2020-07-15</time>-->

            <!--                    <span class="slash">/</span>-->

            <!--                    <ul class="index-tag-list" itemprop="keywords">-->
            <!--                        <li class="index-tag-list-item">-->
            <!--                            <a class="index-tag-list-link" href="/" rel="tag">DevOps</a>-->
            <!--                        </li>-->
            <!--                    </ul>-->
            <!--                </div>-->

            <!--                <div class="post-excerpt">-->

            <!--                    <p>-->
            <!--                        企业安全建设中，安全风险就像是蝴蝶效应，它虽然不会像多米诺骨牌一样瞬间将企业安全全盘推倒，但却会持续散发影响力。随着网络环境与攻击方式的复杂性，传统查缺补漏式的安全建设模式无法有效应对安全风险，单一、单点的安全防护更是非常滞后。</p>-->

            <!--                </div>-->
            <!--                <a class="more" href="/"> 阅读全文〉</a>-->
            <!--            </article>-->

        </div>
    </div>
    <nav class="page-nav text-center">
        {if $data['data']}
        {:blogPage($data.count, $data['page'], 'list')}
        {/if}

        <!--        <a class="extend prev" rel="prev" href="/">〈</a>-->
        <!--        <span class="page-number current">1</span>-->
        <!--        &lt;!&ndash;        <span class="page-number current">2</span>&ndash;&gt;-->
        <!--        &lt;!&ndash;        <a class="page-number" href="https://www.fooying.com/page/2/">2</a>&ndash;&gt;-->
        <!--        <a class="page-number" href="/page/2">2</a>-->
        <!--        <a class="page-number" href="/page/3">3</a>-->
        <!--        <span class="space">…</span>-->
        <!--        <a class="page-number" href="/page/5">5</a>-->
        <!--        <a class="extend next" rel="next" href="/page/2">〉</a>-->

    </nav>


</div>
{/block}